package com.cheng.example.atguigu.design_pattern.facade;


/*
 * @author 程帅
 * @createTime: 2020/10/21 22:03
 * @Created: with IntelliJ IDEA.
 */
//自动屏幕
public class Screen {

    private static Screen instance = new Screen();

    public static Screen getInstance() {
        return instance;
    }

    public void up() {
        System.out.println("screen is up");
    }

    public void down() {
        System.out.println("screen is down");
    }


}
